package com.woniuxy.ams.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class DailyAssessSummarize {
    /**
     * id
     */
    private Integer id;
    /**
     * 被考核人的部门
     */
    private String dept;
    /**
     *被考核人姓名
     */
    private String assessed;
    /**
     * 加奖
     */
    private BigDecimal addAward;
    /**
     * 扣奖
     */
    private BigDecimal subAward;
    /**
     * 合计
     */
    private BigDecimal totalMoney;
    /**
     * 考核时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss",iso = DateTimeFormat.ISO.DATE_TIME)
    private Date assessTime;
    /**
     * 查询时间
     */
    private String chooseTime;
}
